/*
 * HDTest.h
 *
 *  Created on: Jul 9, 2009
 *      Author: oferbart
 */

#ifndef HDTEST_H_
#define HDTEST_H_

#include <iostream>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include <vector>
#include <sstream>
#include "Utils.h"
#include "MetadataBlock.h"
#include "INode.h"
#include "BlockNode.h"
#include "Utils.h"
#include "HD.h"
#include "Log.h"
using namespace std;

class HDTest {
public:
	HDTest();
	virtual ~HDTest();
	void test(int dataBlockSize, int numberOfInodes, unsigned long int diskSize);
	void testINodeAllocate(int dataBlockSize, int numberOfInodes, unsigned long int diskSize);
	void testINodeAllocate2(int dataBlockSize, int numberOfInodes, unsigned long int diskSize);
	void testDataBlockAllocate(int dataBlockSize, int numberOfInodes, unsigned long int diskSize);
};

#endif /* HDTEST_H_ */
